-
Notifications
You must be signed in to change notification settings - Fork 11
refactor: replaced font
leftovers of release 2.x
#4695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: replaced font
leftovers of release 2.x
#4695
Conversation
…g-default-mappings-for-headlines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This refactor consolidates font-related CSS custom properties by replacing separate font-size
and line-height
declarations with a single font
shorthand property. The changes eliminate leftovers from release 2.x that used individual font properties.
- Replaces separate
font-size
andline-height
properties withfont
shorthand across multiple files - Updates code examples and documentation to reflect the new consolidated approach
- Simplifies CSS declarations by reducing two properties to one
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
showcases/patternhub/styles/decision-tree.scss | Updates h2 styles to use consolidated font property |
showcases/patternhub/pages/foundations/font-sizes/overview.tsx | Updates code examples and inline styles to use font shorthand |
packages/foundations/docs/FontsSizes.md | Updates documentation example to show font shorthand usage |
…g-default-mappings-for-headlines
Co-authored-by: Copilot <[email protected]>
…g-default-mappings-for-headlines
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Proposed changes
Resolves #4652
Types of changes
Further comments